// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 插入 数据管理工具 vuex
import store from './store'
// 轮播图插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
// require styles
import 'swiper/dist/css/swiper.css'

// 解决一像素边框问题
import 'styles/border.css'

// 基础样式修饰
import 'styles/reset.css'

// 样式表
import 'styles/iconfont.css'

// 三百毫秒点击延迟
import fastClick from 'fastclick'

Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper)
fastClick.attach(document.body)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  // 键值相同可以省略
  router,
  store, // 数据会被派发到每个组件
  components: { App },
  template: '<App/>'
})
